

#include "boneActor.h"
#include "renderer.h"
#include "input.h"

BoneActor::BoneActor(){

drawType=DRAW_CUBE;
scale=Vector3f(0.25, 0.25, 0.25);
mySystem=NULL;
influence=10;

registerProperties();
}

BoneActor::~BoneActor(){}

void BoneActor::registerProperties(){
Actor::registerProperties();
}

void BoneActor::setup(){

Actor::setup();
}

void BoneActor::trigger(Actor * other){

}

void BoneActor::update(double deltaTime){

if (input->controller->bRunning)
  drawType=DRAW_NULL;
else
  drawType=DRAW_CUBE;

}

void BoneActor::create(){renderer->addActor(this);}
